package com.demo.web.api;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


@ApiModel(value="输入参数")
public class RequestDTO {
	
	//输入参数
	@ApiModelProperty(required = true, value = "必输入的属性值",example = "2018", dataType = "String")
	private String value;
	
	
	
	@ApiModelProperty(value = "性别[10男 11女]",example = "woman", dataType = "String")
    private Sex sex;
	
	//建议值都给出
	@ApiModelProperty(allowableValues="rang[1,100]")
	private int age;
	
	
	//没有注解
	List<Integer> intVals;
	
	
	
	
	

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Sex getSex() {
		return sex;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}

	public List<Integer> getIntVals() {
		return intVals;
	}

	public void setIntVals(List<Integer> intVals) {
		this.intVals = intVals;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}



}
